bin_PROGRAMS = lsm

lsm_SOURCES = \
  lib/pstrlib.c\
  lsm.c\
  sqlite_backend.c

noinst_HEADERS = \
  lib/pstrlib.h\
  sqlite_backend.h
  
if HAVE_GTK

lsm_SOURCES += \
  gui/gtk2/main_ui.c\
  gui/gtk2/about_dialog.c\
  gui/gtk2/prefs_dialog.c\
  gui/gtk2/notebook_widget.c\
  gui/gtk2/menu_widget.c\
  gui/gtk2/quickconnect_widget.c\
  gui/gtk2/hosts_dialog.c
  
noinst_HEADERS += \
  gui/gtk2/main_ui.h\
  gui/gtk2/about_dialog.h\
  gui/gtk2/prefs_dialog.h\
  gui/gtk2/notebook_widget.h\
  gui/gtk2/menu_widget.h\
  gui/gtk2/quickconnect_widget.h\
  gui/gtk2/hosts_dialog.h
endif
  
lsm_CFLAGS =-Wall -Werror -O4 -pedantic

